#include "data_track.hpp"

namespace Data
{
    Track::Track()
    {

    }
    QString Track::name() const
    {
        return name_;
    }
    void Track::setName(QString value)
    {
        name_ = value;
    }

    Track::Type Track::type() const
    {
        return type_;
    }
    void Track::setType(Type value)
    {
        type_ = value;
    }


    float Track::volume() const
    {
        return volume_;
    }
    void Track::setVolume(float value)
    {
        volume_ = value;
    }

    float Track::balance() const
    {
        return balance_;
    }
    void Track::setBalance(float value)
    {
        balance_ = value;
    }

    bool Track::isLock() const
    {
        return isLock_;
    }
    void Track::setIsLock(bool value)
    {
        isLock_ = value;
    }

    bool Track::isRecord() const
    {
        return isRecord_;
    }
    void Track::setIsRecord(bool value)
    {
        isRecord_ = value;
    }

    bool Track::isMute() const
    {
        return isMute_;
    }
    void Track::setIsMute(bool value)
    {
        isMute_ = value;
    }

    bool Track::isSolo() const
    {
        return isSolo_;
    }
    void Track::setIsSolo(bool value)
    {
        isSolo_ = value;
    }

    void Track::toXml(QDomElement &)
    {
#warning TODO Track::toXml(QDomElement &)
    }

    void Track::fromXml(QDomElement &)
    {
#warning TODO Track::fromXml(QDomElement &)
    }
}
